package com.kob.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kob.backend.pojo.user;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;
//Mybatis Plus

@Mapper
public interface UserMapper extends BaseMapper<user> {
      @Select("update user set username=#{username},password=#{password},email=#{email},phone=#{phone},address=#{address} where id=#{id}")
      public void changeuserinfo(Integer id,String username,String password,String email,String phone,String address);
}
